/** @class Corners
	@description injecte la structure html permetant la realisation de coin arrondi 
	@use 
			l'utilisation de la structure block/blockInside est indispensable pour l'execution du script.
			
			<div class="block">
				<div class="blockInside"></div>
			</div>
			
			En effet, le script va injecter la structure des coins entre les 2 <div>
			
			html apres l'execution du script:
			
			<div class="block">
				<span class="topCorners"><span class="tl"></span><span class="tr"></span></span>
				<div class="blockInside"></div>
				<span class="bottomCorners"><span class="bl"></span><span class="br"></span></span>
			</div>
			
			le skin des coins est gere via CSS, ce reporter a la section /* corners * de default.css
			
	@return behavior
*/
var Corners = new Moodules({
	required: ["css", "image"],
	initialize: function (block){
		var topC = new Element("span", {"class":"topCorners", html:'<span class="tl"></span><span class="tr"></span>'});
		topC.injectTop(block);
		var bottomC = new Element("span", {"class":"bottomCorners", html:'<span class="bl"></span><span class="br"></span>'});
		bottomC.injectBottom(block);
	}
})
// Moodule.register("Corners", "div.block");
